<?php

namespace app\controller;



use app\BaseController;
use think\facade\Db;

class D extends BaseController
{
    public function index()
    {
        $result= Db::table('breeze_admin')->select();
        //输出sql
        //halt(); 相当于dump(); exit;
        echo Db::getLastSql();exit();

        return json($result);
    }
}